@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './icon.scss';

body {
  height: 100%;
  padding-right: 0;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}
* {
  box-sizing: border-box;
}
#app {
  height: 100%;
  min-width: 1366px;
  .floor{
    &.pos-rel .inner-content{
      left: 50%;
      transform: translateX(-50%);
    }
    .bg{
      width: 100%;
    }
    .inner-content{
      width: 1366px;
      margin: 0 auto;
      text-align: center;
    }
  }
}
@media screen and (max-width: 750Px){
  #app{
    min-width: 240px;
    .floor{
      width: 100%;
      .inner-content{
        width: 100%;
        padding-left:12px;
        padding-right:12px;
      }
    }
  }
}

.pointer {
  cursor: pointer;
}
/*************** common widget css ***************/

input[type=number] {
  -moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.borderless{
  border: none!important;
  &:focus{
    outline: none;
  }
}

.ui-toast-box{
  z-index: 9999;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);

  .msg{
    min-width: 30%;
    padding: 6px 12px;
    font-size: 16px;
    color: #333;
    background-color: rgba(255, 255, 255, .95);
    border-radius: 2px;
    text-align: center;
    // animation: out .4s;
    opacity: .99;
    box-shadow: 0Px 0Px 4Px #eee;
  }

  &.dark{
    .msg{
      background-color: rgba(51, 51, 51, .85);
      color: white;
    }
  }
}

.hor-line-title{
  &::before, &::after{
    width: 13px;
    height: 1Px;
    content: '';
    position: absolute;
    top: 17px;
    left: 0%;
    margin-left: -33px;
    background-color: #54E0C2;
  }
  &::after{
    left: 100%;
    margin-left: 20px;
  }
}

.input{
  &:focus{
    outline: none;
  }
}

.underline{
  text-decoration: underline;
}

/*************** postioning css ***************/
.pos-rel{
  position: relative;
}

.pos-abs{
  position: absolute;
  left: 0;
  top: 0;
}

.pos-fixed{
  position: fixed;
}

.float-right{
  float: right;
}
/*************** flex layout css ***************/
.flex-hor-layout{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

.flex-ver-layout{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.txt-hide{
  white-space: nowrap;
  word-break: break-all;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*************** page css ***************/
.home-page{
  .swiper-pagination-bullet{
    width: 5px;
    height: 5px;
    background: #9A9A9A;
    margin: 0 9px!important;
    &.swiper-pagination-bullet-active{
      background: white;
    }
  }
}

.board-page{
  .board-partner-wrap .select {
    .el-input__inner, .el-input__icon{
      height: 21px!important;
      line-height: 21px!important;
      font-size: 11px;
      border-radius: 0!important;
    }
  }
}

/*************** elementui css ***************/
.board-partner-select-option{
  height: 21px!important;
  line-height: 21px!important;
  font-size: 11px;
}

.white-dropdown .el-dropdown{
  color: white;
}

.el-table--enable-row-hover .el-table__body tr:hover > td {
  background-color: transparent;
}

/*************** icon css ***************/



/*************** other css ***************/
*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
